home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / ingres04.lzh / doc / unix / destroydb.doc < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.5 KB  |  50 lines

  1.  
  2.  
  3.  
  4.  
  5.      DESTROYDB(UNIX)              3/14/79              DESTROYDB(UNIX)
  6.  
  7.  
  8.  
  9.      NAME
  10.           destroydb - destroy an existing database
  11.  
  12.      SYNOPSIS
  13.           _d_e_s_t_r_o_y_d_b [ -_s ] [ -_m ] dbname
  14.  
  15.      DESCRIPTION
  16.           _D_e_s_t_r_o_y_d_b will remove all reference to an existing database.
  17.           The directory of the database and all files in that directo-
  18.           ry will be removed.
  19.  
  20.           To execute this command the current user must be  the  data-
  21.           base  administrator for the database in question, or must be
  22.           the INGRES superuser and have the -_s flag stated.
  23.  
  24.           The -_m flag causes _d_e_s_t_r_o_y_d_b not to remove the UNIX directo-
  25.           ry.  This is useful when the directory is a separate mounted
  26.           UNIX file system.
  27.  
  28.      EXAMPLE
  29.           destroydb demo
  30.           destroydb -s erics_db
  31.  
  32.      FILES
  33.           .../data/base/*
  34.  
  35.      SEE ALSO
  36.           creatdb(unix)
  37.  
  38.      DIAGNOSTICS
  39.           invalid dbname - the database name specified is not a  valid
  40.               name.
  41.           you may not reference this database - the database  may  ex-
  42.               ist,  but you do not have permission to do anything with
  43.               it.
  44.           you may not use the -s flag - you have tried to use  the  -_s
  45.               flag, but you are not the INGRES superuser.
  46.           you are not the dba - someone else created this database.
  47.           database does not exist - this database does not exist.
  48.  
  49.  
  50.